package net.roobook.server.test.properties;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author Roobook
 * @description desc
 * @date 2022/4/11
 */
@SpringBootConfiguration
@PropertySource(value = {"classpath:roobook-server-test.properties"})
@ConfigurationProperties(prefix = "roobook.server.test")
public class RoobookServerTestProperties {

    /**
     * 免认证 URI，多个值的话以逗号分隔
     */
    private String anonUrl;

    private RoobookSwaggerProperties swagger = new RoobookSwaggerProperties();

    public RoobookSwaggerProperties getSwagger() {
        return swagger;
    }

    public void setSwagger(RoobookSwaggerProperties swagger) {
        this.swagger = swagger;
    }

    public String getAnonUrl() {
        return anonUrl;
    }

    public void setAnonUrl(String anonUrl) {
        this.anonUrl = anonUrl;
    }
}
